Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PHPCS config #177

Merged
merged 5 commits into from
Aug 30, 2023
Merged

Update PHPCS config #177

merged 5 commits into from
Aug 30, 2023

Conversation

swissspidy
Copy link
Member

@swissspidy swissspidy commented Aug 30, 2023

See #175

@swissspidy swissspidy added this to the 4.0.1 milestone Aug 30, 2023
@swissspidy swissspidy mentioned this pull request Aug 30, 2023
42 tasks
Copy link
Contributor

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 136 needs to be updated from file_system_read to file_system_operations.
Ref: https://github.com/WordPress/WordPress-Coding-Standards/wiki/Upgrade-Guide-to-WordPressCS-3.0.0-for-ruleset-maintainers#excluding-a-group-of-checks

You may also want to remove most of the error code based excludes for WordPress.WP.AlternativeFunctions (line 82 - 86) as those are now just duplicate.

@schlessera
Copy link
Member

schlessera commented Aug 30, 2023

@swissspidy I didn't realize you had includes filesystem functions in here as well. Either close or merge PR #178 as needed.

WP_CLI_CS/ruleset.xml Outdated Show resolved Hide resolved
@swissspidy swissspidy marked this pull request as ready for review August 30, 2023 15:44
@swissspidy swissspidy requested a review from a team as a code owner August 30, 2023 15:44
@danielbachhuber danielbachhuber merged commit 8dbfadc into main Aug 30, 2023
32 checks passed
@danielbachhuber danielbachhuber deleted the fix/phpcs-config branch August 30, 2023 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants